package com.teamwhole.modules.oa.facility.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.teamwhole.core.persistence.ActEntity;
import com.teamwhole.modules.sys.entity.User;

public class WorkOrderFacility extends ActEntity<WorkOrderFacility> {

	private static final long serialVersionUID = 1L;

	private String actTitle;// 流程标题

	private String source; // 来源
	private String sourceName;
	private String gridId; // 广场
	private String regionId; // 区域
	private String gridName;
	private String regionName;
	private String facilityId;
	private String facilityName;
	private String facilityCode;
	private String facilityTypeCode;
	private String facilityTypeName;
	private String type; // 类型 设施安装、设施更换、设施拆除、广场活动、其它
	private String typeName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;// 工单时间
	private Double limitHour;// 期限
	private String content; // 内容
	private String pic;
	private User creator;
	private String status; // 工单状态
							// 工单创建[0]/工单派发[1]/工单处理[2]/工单审核[3]/工单延期[4]/工单结束[5]

	public String getFacilityTypeCode() {
		return facilityTypeCode;
	}

	public void setFacilityTypeCode(String facilityTypeCode) {
		this.facilityTypeCode = facilityTypeCode;
	}

	public String getFacilityTypeName() {
		return facilityTypeName;
	}

	public void setFacilityTypeName(String facilityTypeName) {
		this.facilityTypeName = facilityTypeName;
	}

	public String getActTitle() {
		return actTitle;
	}

	public void setActTitle(String actTitle) {
		this.actTitle = actTitle;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getFacilityId() {
		return facilityId;
	}

	public void setFacilityId(String facilityId) {
		this.facilityId = facilityId;
	}

	public String getFacilityName() {
		return facilityName;
	}

	public String getFacilityCode() {
		return facilityCode;
	}

	public void setFacilityCode(String facilityCode) {
		this.facilityCode = facilityCode;
	}

	public void setFacilityName(String facilityName) {
		this.facilityName = facilityName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Double getLimitHour() {
		return limitHour;
	}

	public void setLimitHour(Double limitHour) {
		this.limitHour = limitHour;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public User getCreator() {
		return creator;
	}

	public void setCreator(User creator) {
		this.creator = creator;
	}

	public String getGridId() {
		return gridId;
	}

	public void setGridId(String gridId) {
		this.gridId = gridId;
	}

	public String getRegionId() {
		return regionId;
	}

	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	public String getGridName() {
		return gridName;
	}

	public void setGridName(String gridName) {
		this.gridName = gridName;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

}
